package suites.stub {
	import org.splink.deepsplink.processor.IProcessor;

	/**
	 * @author Max Kugland
	 */
	public class ProcessorStub implements IProcessor {
		private var _fnc : Function;

		public function ProcessorStub(fnc : Function = null) {
			_fnc = fnc != null ? fnc : function(pageId : String, pageParams : Array):void {
			};
		}

		public function process(pageId : String, pageParams : Array) : void {
			_fnc(pageId, pageParams);
		}
	}
}
